﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AttendanceSysytem.Controls
{
    public class DateBadgeEx
    {
        //
        // 摘要:
        //     日期 yyyy-MM-dd
        public string Date { get; set; }

        //
        // 摘要:
        //     徽标计数 0是点
        public string BageText { get; set; } = string.Empty;

        //
        // 摘要:
        //     填充颜色
        public Color? Fill { get; set; }

        public DateBadgeEx(string date)
        {
            Date = date;
        }

        public DateBadgeEx(string date, Color fill)
        {
            Date = date;
            Fill = fill;
        }

        public DateBadgeEx(string date, string bageText)
        {
            Date = date;
            BageText = bageText;
        }

        public DateBadgeEx(string date, string bageText, Color fill)
        {
            Date = date;
            BageText = bageText;
            Fill = fill;
        }
    }
}
